package com.xmtlxx.wms.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;



/**
 * 出库明细视图对象 t_ex_warehouse_dtl
 *
 * @author xmtlxx
 * @date 2022-08-15
 */
@Data
@ApiModel("出库明细视图对象")
@ExcelIgnoreUnannotated
public class ExWarehouseDtlVo {

    private static final long serialVersionUID = 1L;

    /**
     * 出库明细ID
     */
    @ExcelProperty(value = "出库明细ID")
    @ApiModelProperty("出库明细ID")
    private String id;

    /**
     * 出库单ID
     */
    @ExcelProperty(value = "出库单ID")
    @ApiModelProperty("出库单ID")
    private String wid;

    /**
     * 物品编号
     */
    @ExcelProperty(value = "物品编号")
    @ApiModelProperty("物品编号")
    private String pno;

    /**
     * 物品名称
     */
    @ExcelProperty(value = "物品名称")
    @ApiModelProperty("物品名称")
    private String name;

    /**
     * 物品所在单位
     */
    @ExcelProperty(value = "物品所在单位")
    @ApiModelProperty("物品所在单位")
    private Long deptId;

    /**
     * 物品所在机构单位
     */
    @ExcelProperty(value = "物品所在机构单位")
    @ApiModelProperty("物品所在机构单位")
    private Long orgId;

    /**
     * 数量
     */
    @ExcelProperty(value = "数量")
    @ApiModelProperty("数量")
    private Long nums;

    /**
     * 图片附件
     */
    @ExcelProperty(value = "图片附件")
    @ApiModelProperty("图片附件")
    private String pics;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "wms_ex_warehousing_status")
    @ApiModelProperty("状态")
    private String status;

    /**
     * 创建时间
     */
    @ExcelProperty(value = "创建时间")
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 创建人
     */
    @ExcelProperty(value = "创建人")
    @ApiModelProperty("创建人")
    private String createBy;

    /**
     * 更新时间
     */
    @ExcelProperty(value = "更新时间")
    @ApiModelProperty("更新时间")
    private Date updateTime;

    /**
     * 更新人
     */
    @ExcelProperty(value = "更新人")
    @ApiModelProperty("更新人")
    private String updateBy;

    /**
     * 删除标识
     */
    @ExcelProperty(value = "删除标识", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_del_flag")
    @ApiModelProperty("删除标识")
    private String delFlag;

    @ApiModelProperty("出库单号")
    private String exno;

    @ApiModelProperty("订单编号")
    private String taskNo;

    @ApiModelProperty(value = "部门")
    private String deptName;

    @ApiModelProperty(value = "机构")
    private String localName;

    @ApiModelProperty(value = "仓库ID")
    private String storeId;

    @ApiModelProperty(value = "仓库名称")
    private String storeName;

    /**
     * 箱号
     */
    @ApiModelProperty(value = "箱号")
    private String boxNo;
    /**
     * 货箱ID
     */
    @ApiModelProperty(value = "货箱ID")
    private String boxId;


    /**
     * 是否封箱
     */
    @ApiModelProperty("是否封箱")
    private String seal;

    private String locatorId;

    private String nickName;
}
